package com.game.backend.controller.user.account;

import com.game.backend.service.user.account.InfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/user/account")
public class InfoController {

    @Autowired
    private InfoService infoService;

    @RequestMapping("/info")
    public Map<String,String> getInfo(){
        return infoService.gefInfo();
    }
}
